package com.ds.infrastructure.hyperspace.container.admin.processor;

import com.ds.infrastructure.hyperspace.common.admin.AdminResponseVO;
import com.ds.infrastructure.hyperspace.container.internal.NettyContainer;

import java.io.IOException;

/**
 * @author  Weishaoying
 * @date 2019/6/26 下午4:33
 */
public interface Processor {

    /**
     * process request
     * @param container
     * @param msg
     * @return
     * @throws IOException
     */
    AdminResponseVO process(NettyContainer container, byte[] msg) throws IOException;
}
